package com.association.model;

import com.association.constant.CodeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 区域
 * Created by keyong on 2020/4/19/019.
 */
@Data
public class DistrictResp extends ResultResp<DistrictBo> {

    // region // list
    @ApiModelProperty(name = "list",value = "列表", required = true)
    // endregion
    protected List<DistrictBo> list;

    public DistrictResp(List<DistrictBo> list) {
        this.list = list;
    }

    public DistrictResp(CodeEnum codeEnum, String message) {
        super(codeEnum, message);
    }
}
